
package com.inossem.warehousestorage_inossem.manage;

import java.util.ArrayList;
import java.util.List;

public class DatabaseUpgradeManage {
    //此方法不能删除
    public List<String> upgrade1() {
        List<String> result = new ArrayList<String>();
        return result;
    }

    // 数据库版本2
    public List<String> upgrade2() {
        List<String> result = new ArrayList<String>();
        result.add("CREATE TABLE info (_id INTEGER PRIMARY KEY AUTOINCREMENT, info_id VARCHAR2(256))");
        return result;
    }

    // // 例子
    // public List<String> upgrade+数字() {
    // List<String> result = new ArrayList<String>();
    // result.add("SQL语句");
    // result.add("SQL语句");
    // result.add("SQL语句");
    // return result;
    // }
}
